package site

import "gitee.com/wcs2/common/enums"

type siteStateStruct struct {
	IDLE             enums.PositionEnum
	LOCKED           enums.PositionEnum
	OCC              enums.PositionEnum
	TEMP_OCC         enums.PositionEnum
	ARRIVE           enums.PositionEnum
	WAITING_SHIPMENT enums.PositionEnum
	FULL             enums.PositionEnum
}

//库位状态枚举
var SiteStateEnum = &siteStateStruct{
	IDLE: enums.PositionStruct{
		Code: "IDLE",
		Des:  "空闲",
	}, LOCKED: enums.PositionStruct{
		Code: "LOCKED",
		Des:  "锁定（有任务安排）",
	}, OCC: enums.PositionStruct{
		Code: "OCC",
		Des:  "占用中",
	}, TEMP_OCC: enums.PositionStruct{
		Code: "TEMP_OCC",
		Des:  "临时占用（AGV临时占用）",
	}, ARRIVE: enums.PositionStruct{
		Code: "ARRIVE",
		Des:  "容器到位",
	}, WAITING_SHIPMENT: enums.PositionStruct{
		Code: "WAITING_SHIPMENT",
		Des:  "等待出库任务",
	}, FULL: enums.PositionStruct{
		Code: "FULL",
		Des:  "满托",
	},
}
